package com.dmap.analysispoint.service.impl;

import com.dmap.analysispoint.controller.background.param.CountParam;
import com.dmap.analysispoint.service.ParamDoService;
import org.springframework.stereotype.Service;

/**
 * \* @author:zhouhao
 * \* Date:16/05/2018
 * \* Description:
 * \*
 */

@Service
public class ParamDoServiceImpl implements ParamDoService {

    @Override
    public CountParam getParam(CountParam param) {
        CountParam countParam = new CountParam();
        countParam.setCompanyId(param.getCompanyId());
        countParam.setProjectId(param.getProjectId());
        countParam.setPlaceId(param.getPlaceId());
        countParam.setFirmwareId(param.getFirmwareId());
        countParam.setFirmwareVersion(param.getFirmwareVersion());
        countParam.setAppVersion(param.getAppVersion());
        countParam.setStartTime(param.getStartTime());
        countParam.setEndTime(param.getEndTime());
        return countParam;
    }
}
